package com.qdlc.p2p.biz.service;

import com.qdlc.p2p.dal.common.model.jpa.PageDataList;
import com.qdlc.p2p.dal.dto.Score;
import com.qdlc.p2p.dal.model.ScoreModel;

public interface ScoreService {

    /**
     * 会员积分查询分页.
     *
     * @param model 查询条件分装类
     * @return page
     */
    public PageDataList<ScoreModel> findPageList(ScoreModel model);

    /**
     * 根据会员ID查询会员的积分信息
     *
     * @param userId 会员ID
     * @return Score
     */
    public Score findByUserId(long userId);
}
